﻿import Rhino.Commons.Facilities
import Rhino.Security
import Rhino.Security.Interfaces from Rhino.Security
import System.Collections.Generic
import System
import WineCellar.Security.Setup
import System.Reflection
import Rhino.Commons from Rhino.Commons.NHibernate as nh


facility RhinoTransactionFacility

facility RhinoSecurityFacility:
	securityTableStructure = SecurityTableStructure.Prefix
	userType = User
	
cfg = "hibernate.cfg.xml"
facility NHibernateUnitOfWorkFacility:
	config = NHibernateUnitOfWorkFacilityConfig().NHibernateConfiguration(cfg)

//component INHibernateInitializationAware, NHibernateMappingModifier
component INHibernateInitializationAware, CaptureConfiguration

//component IRepository, NHRepository
//component IUnitOfWorkFactory, NHibernateUnitOfWorkFactory






